package com.laiketui.order.service;

import com.laiketui.order.api.dto.ExamineOrderDTO;
import com.laiketui.order.api.dto.ExamineOrderDetailDTO;
import com.laiketui.order.api.dto.OrderOfflineExamineDTO;
import com.laiketui.order.api.params.OrderInfoParams;
import com.laiketui.order.api.params.mch.MchOrderInfoParams;
import com.laiketui.order.api.params.store.ExamineOrderParams;
import com.laiketui.order.domain.OrderOfflineExamine;
import com.laiketui.order.entity.ExamineOrderDetailEntity;

import java.util.List;

/**
 * 总后台审核订单
 */
public interface ExamineOrderService{

    /**
     * 审核支付订单
     * @param params
     * @return
     */
    String examineOrder(ExamineOrderParams params);

    /**
     * 审核支付详情
     * @param params
     * @return
     */
    ExamineOrderDetailDTO examineInfo(OrderInfoParams params);

    /**
     * 审核详情列表
     */
    List<OrderOfflineExamineDTO> examineList(OrderInfoParams params);

    /**
     * 财务订单详情
     */
    ExamineOrderDTO orderDetails(MchOrderInfoParams params);

    /**
     * 通过审核订单
     * @param params
     * @return
     */
    OrderOfflineExamine passOrderInfo(OrderInfoParams params);

    /**
     * 恢复待付款
     */
    String returnWaitPay(String orderParentNo);

}
